<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Log Room</title>
<script type="text/javascript" >
function lockon(){
var xmlhttp;
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }

xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("perinfo").innerHTML=xmlhttp.responseText;
    
    }
  }
xmlhttp.open("GET","http://localhost:8080/LogRoom/jsp/test1.jsp",true);
xmlhttp.send();
}
function upload(str){
//上传
//隐藏
}
</script>
</head>
<body>
<div id="123" align="left">
	<table align="center" style="border: 1px solid gray">
		<tr align="center">
			<td>个人信息</td>
		</tr>
		<tr align="center">
			<td>昵称</td>
		</tr>
		<tr align="center">
			<td>年龄</td>
		</tr>
		<tr align="center">
			<td>性别</td>
		</tr>
		<tr align="center">
			<td>电话</td>
		</tr>
		<tr align="center">
			<td>生日</td>
		</tr>
		<tr align="center">
			<td>
				<input type="button" onclick="lockon()" value="修改个人资料"> 
				<a target="showpage" href="<%=request.getContextPath()%>/jsp/logroompage.jsp">进入聊天室</a>
			</td>
		</tr>
	</table>
</div>
<div id="perinfo"></div>
</body>
</html>